package com.gtvtv.sparkdesksdk.model.response.agent;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 选择项（工作流输出）
 */
public class Choice {
    @JsonProperty("index")
    private int index; // 结果序号（多候选中使用）
    
    @JsonProperty("delta")
    private DeltaContent delta; // 工作流输出内容
    
    @JsonProperty("finish_reason")
    private String finishReason; // 停止原因

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public DeltaContent getDelta() {
        return delta;
    }

    public void setDelta(DeltaContent delta) {
        this.delta = delta;
    }

    public String getFinishReason() {
        return finishReason;
    }

    public void setFinishReason(String finishReason) {
        this.finishReason = finishReason;
    }
}
